package com.wskj.insuranceweb.reporter.service;

import com.wskj.insuranceweb.reporter.mapper.EmployeeMapper;
import com.wskj.insuranceweb.reporter.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl implements  EmployeeService {
    @Autowired
    private EmployeeMapper mapper;

    @Override
    public Employee findEmployeeByUserName(Employee employee) {

        return mapper.findEmployeeByUserName(employee);
    }
}
